/**
 * 图片报错处理
 */
const errorImg = require('../../assets/images/imgError.png')
export default {
  inserted: (el) => {
    el.onerror = function() {
      el.src = errorImg
    }
  }
}
